<%@ Control Language="vb" AutoEventWireup="false" Codebehind="DSFileIncluder.ascx.vb" Inherits="Delisoft.DNN.Modules.DSLocalizator.DSFileIncluder" %>
<%@ Register TagPrefix="dnn" TagName="Sectionhead" Src="~/controls/SectionHeadControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="300" border="0">
	<TR>
		<TD><dnn:sectionhead id="dshFileList" runat="server" cssclass="Head" resourcekey="dshReplacementList"
				text="List of replacements" includerule="true" section="tblFileList"></dnn:sectionhead>
			<TABLE id="tblFileList" cellSpacing="0" cellPadding="0" width="300" border="0" runat="server">
				<TR>
					<TD><asp:datagrid id="grdFiles" runat="server" Width="656px" AutoGenerateColumns="False">
							<FooterStyle CssClass="DataGrid_Footer"></FooterStyle>
							<SelectedItemStyle CssClass="NormalRed"></SelectedItemStyle>
							<EditItemStyle CssClass="NormalTextBox"></EditItemStyle>
							<AlternatingItemStyle CssClass="Normal"></AlternatingItemStyle>
							<ItemStyle HorizontalAlign="Left" CssClass="Normal"></ItemStyle>
							<HeaderStyle HorizontalAlign="Center" CssClass="NormalBold" VerticalAlign="Top"></HeaderStyle>
							<Columns>
								<asp:ButtonColumn Text="Select" CommandName="Select"></asp:ButtonColumn>
								<asp:BoundColumn HeaderText="Name"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Tabs"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Locales"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="FileType"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="FileURL"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Order"></asp:TemplateColumn>
								<asp:TemplateColumn HeaderText="Disabled"></asp:TemplateColumn>
								<asp:ButtonColumn Text="Delete" CommandName="Delete"></asp:ButtonColumn>
							</Columns>
							<PagerStyle CssClass="DataGrid_Pager"></PagerStyle>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
	<TR>
		<TD><dnn:sectionhead id="dshUpdateFile" runat="server" cssclass="Head" resourcekey="dshUpdateReplacement"
				text="Create/Update replacement" includerule="true" section="tblUpdateFile"></dnn:sectionhead>
			<TABLE id="tblUpdateFile" cellSpacing="0" cellPadding="0" width="300" border="0" runat="server">
				<TR>
					<TD class="SubHead">
						<TABLE id="Table3" cellSpacing="0" cellPadding="0" width="632" border="0">
							<TR>
								<TD class="SubHead"><dnn:label id="plName" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plOrder" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plDisabled" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
							</TR>
							<TR>
								<TD><asp:textbox id="txtName" runat="server" Width="312px" MaxLength="15" CssClass="NormalTextBox"></asp:textbox><asp:requiredfieldvalidator id="rvName" runat="server" ControlToValidate="txtName" Display="Dynamic" ErrorMessage="The name must bu specified"></asp:requiredfieldvalidator></TD>
								<TD><asp:textbox id="txtOrder" runat="server" Width="64px" MaxLength="5" CssClass="NormalTextBox"></asp:textbox></TD>
								<TD><asp:checkbox id="chkDisabled" runat="server"></asp:checkbox></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD class="Normal"></TD>
				</TR>
				<TR>
					<TD class="SubHead"><dnn:label id="plFileType" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
				</TR>
				<TR>
					<TD class="Normal"><asp:dropdownlist id="ddlFileType" runat="server" CssClass="NormalTextBox">
							<asp:ListItem Value="1" Selected="True">CSS Styles File (reference)</asp:ListItem>
							<asp:ListItem Value="2">JavaScript inside HEAD (File reference)</asp:ListItem>
							<asp:ListItem Value="5">JavaScript inside HEAD (Inline direct)</asp:ListItem>
							<asp:ListItem Value="8">JavaScript inside HEAD (Inline from file)</asp:ListItem>
							<asp:ListItem Value="3">JavaScript inside top BODY (Reference)</asp:ListItem>
							<asp:ListItem Value="6">JavaScript inside top BODY (Inline direct)</asp:ListItem>
							<asp:ListItem Value="9">JavaScript inside top BODY (Inline from file)</asp:ListItem>
							<asp:ListItem Value="4">JavaScript inside bottom BODY (Reference)</asp:ListItem>
							<asp:ListItem Value="7">JavaScript inside bottom BODY (Inline direct)</asp:ListItem>
							<asp:ListItem Value="10">JavaScript inside bottom BODY (Inline from file)</asp:ListItem>
						</asp:dropdownlist></TD>
				</TR>
				<TR>
					<TD class="SubHead"><dnn:label id="plFileURL" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
				</TR>
				<TR>
					<TD class="Normal"><asp:textbox id="txtUrl" runat="server" Width="552px" CssClass="NormalTextBox" TextMode="MultiLine"></asp:textbox><asp:requiredfieldvalidator id="rvSearchFor" runat="server" ControlToValidate="txtUrl" Display="Dynamic" ErrorMessage="Url must be specified"></asp:requiredfieldvalidator></TD>
				</TR>
				<TR>
					<TD class="Normal">
						<TABLE id="Table2" cellSpacing="1" cellPadding="1" width="300" border="1">
							<TR>
								<TD class="SubHead"><dnn:label id="plTabs" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
								<TD class="SubHead"><dnn:label id="plLocales" runat="server" controlname="lstModules" suffix=":"></dnn:label></TD>
							</TR>
							<TR>
								<TD><asp:listbox id="lstTabs" runat="server" cssclass="NormalTextBox" Height="120px" rows="22" width="424px"
										SelectionMode="Multiple"></asp:listbox></TD>
								<TD><asp:listbox id="lstLocales" runat="server" Width="192px" CssClass="NormalTextBox" Height="119px"
										SelectionMode="Multiple"></asp:listbox></TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD align="left"><asp:linkbutton id="cmdCreateNew" runat="server" resourcekey="cmdCreateNew" CssClass="CommandButton">Create new</asp:linkbutton>
						&nbsp;<asp:linkbutton id="cmdUpdate" runat="server" resourcekey="cmdUpdate" CssClass="CommandButton" Visible="False">Update</asp:linkbutton>
						&nbsp;<asp:hyperlink id="cmdReturn" runat="server" resourcekey="cmdReturn" CssClass="CommandButton">Return</asp:hyperlink></TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
</TABLE>
<INPUT type="button" value="Button">
